<div class="alumnos index">
<h2><?php echo('Alumnos'); ?></h2>



<?php
		echo $this->Form->create('Alumno', array(
			'url' => array_merge(array('action' => 'index'), $this->params['pass'])
			));
		 echo $this->Form->input('nombre', array('div' => false, 'empty' => true));
	
	 echo $this->Form->submit(__('Search', true), array('div' => false));
				echo $this->Form->end();?>
<table cellpadding="0" cellspacing="0">
	<tr>
	   
		<th>IED</th>
		<th>Id</th>
                <th>Nombre</th>
                <th>A.Paterno </th>
                <th>A.Materno </th>
                <th>DNI </th>
                <th>Tel</th>
                <th>Sexo</th>
                <th>Direccion</th>
                <th>Distrito</th>
                <th>Correo</th>
                <th>Correo</th>
                <th>Apoderado</th>
                <th>Nivel</th>
                <th>Grado</th>
                <th>Seccion</th>
                <th>Estado</th>
                  <th>Accion</th>
		
	</tr>
	

	<?php foreach($alumnos as $alumno):?>
	<tr>
                  <td><?php echo $alumno['Alumno']['iedu']?></td>
		<td><?php echo $alumno['Alumno']['id']?></td>
                <td><?php echo $alumno['Alumno']['nombre']?></td>
			<td><?php echo $alumno['Alumno']['apepaterno']?></td>
                        <td><?php echo $alumno['Alumno']['apematerno']?></td>
                          <td><?php echo $alumno['Alumno']['dni']?></td>
                            <td><?php echo $alumno['Alumno']['telefono']?></td>
                            <td><?php echo $alumno['Alumno']['sexo']?></td>
                              <td><?php echo $alumno['Alumno']['direccion']?></td>
                                <td><?php echo $alumno['Alumno']['distrito']?></td>
                                  <td><?php echo $alumno['Alumno']['correo1']?></td>
                                    <td><?php echo $alumno['Alumno']['correo2']?></td>
					<td><?php echo $alumno['Alumno']['apoderado_id']?></td>
                                        <td><?php echo $alumno['Alumno']['nivel']?></td>
                                        <td><?php echo $alumno['Alumno']['grado']?></td>
                                        <td><?php echo $alumno['Alumno']['seccion']?></td>
                                        <td><?php echo $alumno['Alumno']['estado']?></td>
		
		<td class="actions">
                        <?php echo $this->Html->link(__('Ver'), array('action' => 'view', $alumno['Alumno']['id']), array('class'=>'view')); ?>
			<?php echo $this->Html->link(__('Editar'), array('action' => 'edit',$alumno['Alumno']['id']), array('class'=>'edit')); ?>
			<?php echo $this->Form->postLink(__('Eliminar'), array('action' => 'delete', $alumno['Alumno']['id']), array('class'=>'delete'), __('Desea Eliminar?')); ?>
			</td>

	</tr>
<?php endforeach?>	
	</table>
	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>	
	</div>
	
	
